<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2015/10/10 0010
  Time: 9:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../base/header.jsp"%>
<html>
<head>
    <title>写日志</title>
</head>
<body>
<div style="width: 950px; margin-right: auto; margin-left: auto">
  <div style="margin-top: 100px; margin-bottom: 100px">
    <form action="book/write_blog.htm" method="post">
    <label>题目：</label>
    <br>
    <input name="title" id="title" style="width: 500px">
    <br>
    <label style="margin-top: 30px">正文：</label>
    <br>
    <textarea name="content" id="content" style="width: 600px;height: 500px"></textarea>
    <br>
    <label style="margin-top: 10px">标签：</label>
    <br>
    <input name="tag" id="tag" placeholder="添加标签，多个标签用‘，’隔开，帮助你更好的整理内容" style="width: 500px">
    <br>
    <label style="margin-top: 10px">设置可见：</label>
    <input type="radio" name="blogPrivacy" value="0"><span>所有人可见</span>
    <input type="radio" name="blogPrivacy" value="1"><span>仅朋友可见</span>
    <input type="radio" name="blogPrivacy" value="2"><span>仅自己可见</span>
    <br>
    <label style="margin-top: 10px">权限设置：</label>
    <input type="checkbox" name="couldReply" value="1"><span>不允许回复</span>
    <br><br>
    <a class="btn btn-default" >预览</a>&nbsp;&nbsp;&nbsp;
    <button class="btn btn-success" type="submit">发布</button>
    </form>
  </div>
</div>
</body>
</html>
